//
//  HMUserAccountViewModel.h
//  HMWeiBoOC
//
//  Created by GD on 16/9/22.
//  Copyright © 2016年 geduo. All rights reserved.
//

#import <Foundation/Foundation.h>
@class HMUserAccount;

@interface HMUserAccountViewModel : NSObject
    
+(instancetype)sharedViewModel;
    
@property (nonatomic,strong) HMUserAccount *userAccount;
    
@property (assign,nonatomic) BOOL isLogin;
    
    
@property (copy,nonatomic) NSString *accessToken;
    
-(void)requestAccessToken:(NSString *)code callBack:(void(^)(BOOL))callback;

@end
